package t;


import org.junit.Test;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Array;
import java.util.*;


public class Test01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
//        String s2 = sc.nextLine();
//        double k = sc.nextDouble();
//        int n = sc.nextInt();
        String[] split = s.substring(1, s.length() - 1).split(",");
        int[] nums = new int[split.length];
        for (int i = 0; i < nums.length; i++) {
//            nums[i] = split[i];
            nums[i] = Integer.parseInt(split[i]);
        }
//        int k = sc.nextInt();

//        System.out.println(canJump(nums));
        sc.close();
    }

    private static final int sum = 1;

    @Test
    public void t() {
        Process process;
        String cmd = "python C:\\Users\\18365\\Desktop\\ye_yu_piao_ling\\infer_contrast.py";

        try {
            process = Runtime.getRuntime().exec(cmd);
            BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream()));
            String line = null;
            while ((line = in.readLine()) != null) System.out.println(line);
            in.close();
            process.waitFor();
        }catch (IOException e){
            e.printStackTrace();
        }catch (InterruptedException e){
            e.printStackTrace();
        }
    }
    static Integer sta = 0;

    @Test
    public void wangyi(){
        System.out.println(sta);
        sta++;
        System.out.println(sta);
        int c = sta;
        System.out.println(c == sta);
    }
}
